package com.springbootjsp.mapper;

import com.springbootjsp.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserTestMapper {
    //查询所有
    List<User> findall();
    //登录
    List<User> login(User user);
    //注册
    int insertUser(User user);
    //根据用户名去查找
    List<User> findById(@Param("user_account") String user_account);


}
